package sreal.study;

public class Subject {
    public void realTask(String taskName){
        System.out.println(taskName+"：开始执行");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(taskName+"：执行完成");
    }
}
